package com.atguigu.service;

import com.atguigu.pojo.BasicBehavior;
import com.atguigu.pojo.Page;

import java.util.List;

public interface BasicBehaviorService {
    public void addBasicBehavior(BasicBehavior basicBehavior);
    public void updateBasicBehavior(BasicBehavior basicBehavior);
    public void deleteBasicBehaviorById(String id);
    public BasicBehavior queryBasicBehaviorById(String id);
    public BasicBehavior queryBasicBehaviorByStatusMakeAndClientId(String clientId);
    public BasicBehavior queryBasicBehaviorByStatusMakeAndClientIdAndMainTaskId(String clientId,String mainTaskId);
    public BasicBehavior queryBasicBehaviorByStatusMakeAndClientIdAndDeployServiceModuleId(String clientId,String deployServiceModuleId);
    public BasicBehavior queryLastBasicBehaviorByMainTaskId(String mainTaskId);
    public BasicBehavior queryMakeStatusBasicBehaviorByDeployServiceModuleIdAndDeployGoalId(String deployServiceModuleId,String deployGoalId);
    public List<BasicBehavior> queryBasicBehaviors();
    public List<BasicBehavior> queryBasicBehaviorsByMainTaskId(String mainTaskId);
    public List<BasicBehavior> queryBasicBehaviorsByDeployServiceModuleId(String deployServiceModuleId);

    public Page page(Integer pageNo, Integer pageSize);
}
